{"version":3,"sources":["baseform.bundle.js"],"names":["this","BX","Landing","UI","exports","ui_designTokens","ui_fonts_opensans","main_core","main_core_events","landing_env","_templateObject","_templateObject2","_templateObject3","_templateObject4","_templateObject5","_templateObject6","_templateObject7","_templateObject8","_templateObject9","ownKeys","object","enumerableOnly","keys","Object","getOwnPropertySymbols","symbols","filter","sym","getOwnPropertyDescriptor","enumerable","push","apply","_objectSpread","target","i","arguments","length","source","forEach","key","babelHelpers","defineProperty","getOwnPropertyDescriptors","defineProperties","BaseForm","_EventEmitter","inherits","_this","data","undefined","classCallCheck","possibleConstructorReturn","getPrototypeOf","call","setEventNamespace","options","id","Reflect","has","Text","getRandom","selector","title","label","type","code","descriptionText","description","serializeModifier","value","headerCheckbox","cache","Cache","MemoryCache","fields","Collection","BaseCollection","cards","layout","createLayout","header","createHeader","body","createBody","footer","createFooter","Dom","append","createDescription","Type","isString","document","createTextNode","innerHTML","isArray","field","addField","_Env$getInstance$getO","Env","getInstance","getOptions","sources","isPlainObject","getHeaderCheckbox","hidden","hide","createClass","show","attr","getLayout","_this2","remember","checkboxId","_this2$headerCheckbox","text","help","state","onChange","input","Tag","render","taggedTemplateLiteral","toBoolean","setAttribute","isFunction","Event","bind","checked","form","helpButton","getHeader","getBody","getFooter","getNode","isObject","add","addCard","card","_this3","removeCard","_this4","remove","replaceCard","oldCard","newCard","replaceField","oldField","newField","replace","isCheckboxChecked","checkbox","querySelector","isDomNode","clone","instance","constructor","Runtime","Field","Date","newFieldData","serialize","reduce","acc","getValue","removeField","disable","addClass","enable","removeClass","EventEmitter","Form"],"mappings":"AAAAA,KAAKC,GAAKD,KAAKC,IAAM,GACrBD,KAAKC,GAAGC,QAAUF,KAAKC,GAAGC,SAAW,GACrCF,KAAKC,GAAGC,QAAQC,GAAKH,KAAKC,GAAGC,QAAQC,IAAM,IAC1C,SAAUC,EAAQC,EAAgBC,EAAkBC,EAAUC,EAAiBC,GAC/E,aAEA,IAAIC,EAAiBC,EAAkBC,EAAkBC,E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